﻿<UserControl x:Class="Airborne.ScrumPoker.Module.Developer.Views.WorkItemDetailView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:presentationOptions="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"  
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="presentationOptions"         
    Height="190" Width="Auto" MinWidth="200">

    <!--<Border BorderThickness="1" BorderBrush="#535353" CornerRadius="5,5,5,5" Background="LightGoldenrodYellow"  Padding="4,4,4,4">-->
        
        <!--<Border.BitmapEffect>
            <OuterGlowBitmapEffect GlowColor="#ccc" GlowSize="8"/>
        </Border.BitmapEffect>-->
    <Border BorderThickness="0.5" BorderBrush="#535353" Padding="4,4,4,4">

        <Border.Effect>
            <DropShadowEffect RenderingBias="Quality" BlurRadius="5" Opacity="1" Direction="300" Color="#FF3D3A3A" ShadowDepth="3" presentationOptions:Freeze="True" />
        </Border.Effect>
        <Border.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" presentationOptions:Freeze="True" >
                <GradientStop Color="#FFF4F09C" Offset="0"/>
                <GradientStop Color="#FFEEF660" Offset="0.964"/>
            </LinearGradientBrush>
        </Border.Background>
        
        
        <Grid Height="Auto">

        <Grid.RowDefinitions>
            <RowDefinition Height="35" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <TextBlock FontWeight="Bold" Grid.Row="0"  Padding="5" TextAlignment="Center" Text="{Binding Path=Title}" TextWrapping="WrapWithOverflow" FontFamily="Segoe Print" FontSize="18" />
              
        <ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Auto" MaxHeight="150" Margin="5">
            <TextBlock Height="Auto" TextWrapping="Wrap" FontFamily="Segoe Print" Text="{Binding Path=Description}" ScrollViewer.VerticalScrollBarVisibility="Auto" />
        </ScrollViewer>
     </Grid>
    </Border> 
</UserControl>

